package com.itheima.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Dish {
    private Integer id;//
    private String name        ;//  varchar(32) COLLATE utf8_bin NOT NULL COMMENT '菜品名称',
    private Integer categoryId ;//         bigint NOT NULL COMMENT '菜品分类id',
    private double price       ;// decimal(10,2) DEFAULT NULL COMMENT '菜品价格',
    private String image       ;//varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '图片',
    private String description ;// varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '描述信息',
    private Integer status      ;//     int DEFAULT '1' COMMENT '0 停售 1 起售',
    private LocalDateTime createTime ;//        datetime DEFAULT NULL COMMENT '创建时间',
    private LocalDateTime updateTime ;//        datetime DEFAULT NULL COMMENT '更新时间',
    private Integer createUser ;//       bigint DEFAULT NULL COMMENT '创建人',
    private Integer updateUser ;//           bigint DEFAULT NULL COMMENT '修改人',

}
